<?php defined('IN_ADMIN') or exit('Access Denied!'); ?>

<form action="/admin/album/save/<?=intval($shop_id);?>" method="post" id="myform">
  <input type="hidden" name="method" value="<?=$method;?>" />
  <input type="hidden" name="album_id" value="<?=i($data['album_id']);?>" />
  <input type="hidden" name="ordnum" value="<?=i($data['ordnum']);?>" />
  <div class="pad-10">
    <div class="col-tab">
      <ul class="tabBut cu-li" id="tab_setting">
        <li id="tab_setting_1" class="on">基本信息</li>
      </ul>
      <div id="show_div_1" class="content pad-10">
        <table width="100%" id="customize_config" class="table_form">
          <tbody id="customize_config_0">
            <tr>
              <td width="100">图片：</td>
              <td class="y-bg"><img width="500" src="<?=UPLOAD_URL.h($data['picture']);?>" /></td>
            </tr>
            <tr>
              <td width="100">图片名称：</td>
              <td class="y-bg"><input type="text" class="input-text" name="name" id="name" size="50" value="<?=h($data['name']);?>"/></td>
            </tr>
          </tbody>
        </table>
      </div>
      <div class="bk15"></div>
      <input name="dosubmit" id="dosubmit" type="submit" value="提交" class="dialog">
    </div>
  </div>
</form>
<script type="text/javascript">
$(document).ready(function(){
    $.formValidator.initConfig({formid:"myform",autotip:true,onerror:function(msg,obj){window.top.art.dialog({content:msg,lock:true,width:'200',height:'50'}, function(){this.close();$(obj).focus();})}});
    $("#name").formValidator({onshow:"请输入图片名称",onfocus:"请输入图片名称"}).inputValidator({min:1,onerror:"图片名称没有填写"});
});
</script>